home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gcc / ixemul_src.lha / ixemul-41.0 / string / Makefile.in < prev    next >
Makefile  |  1995-05-23  |  2KB  |  85 lines

  1. #### Start of system configuration section. ####
  2.  
  3. srcdir =    @srcdir@
  4. VPATH =        @srcdir@
  5.  
  6. # Common prefix for machine-independent installed files.
  7. prefix =    @prefix@
  8.  
  9. # Common prefix for machine-dependent installed files.
  10. exec_prefix =    @exec_prefix@
  11.  
  12. bindir =    $(exec_prefix)/bin
  13. libdir =    $(exec_prefix)/Sys/libs
  14.  
  15. INSTALL =    @INSTALL@
  16. INSTALL_DATA =    @INSTALL_DATA@
  17.  
  18. CC =        @CC@
  19.  
  20. CFLAGS =    @CFLAGS@
  21. LDFLAGS =    @LDFLAGS@
  22.  
  23. RANLIB =    @RANLIB@
  24. AR =        ar
  25.  
  26. #### End system configuration section ####
  27.  
  28. FLAVOR_CFLAGS =    -m$(CPU) -m$(FPU)
  29. OTHER_CFLAGS =    -fomit-frame-pointer
  30. ALL_CFLAGS =    $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS) $(DEFS)
  31.  
  32. DEFS =
  33. INCS =        -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
  34. LIB =        libstring.a
  35.  
  36. .s.o:
  37.         cp $< x.c
  38.         $(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
  39.         $(CC) $(ALL_CFLAGS) -c x.s -o $@
  40.         rm -f x.c x.s
  41.  
  42. .c.o:
  43.         $(CC) $(ALL_CFLAGS) -c $< -o $@
  44.  
  45. SRC =        bcmp.s bcopy.s bzero.s ffs.s index.s memccpy.c memchr.c \
  46.         memcmp.c memcpy.c memmove.c memset.c rindex.s strcasecmp.c \
  47.         strcat.c strcmp.s strcoll.c strcpy.s strcspn.c strdup.c \
  48.         strerror.c strftime.c strlen.s strmode.c strncat.c strncmp.s \
  49.         strncpy.s strpbrk.c strsep.c strspn.c strstr.c strtod.c \
  50.         strtok.c strxfrm.c swab.c
  51.  
  52. OBJ =        bcmp.o bcopy.o bzero.o ffs.o index.o memccpy.o memchr.o \
  53.         memcmp.o memcpy.o memmove.o memset.o rindex.o strcasecmp.o \
  54.         strcat.o strcmp.o strcoll.o strcpy.o strcspn.o strdup.o \
  55.         strerror.o strftime.o strlen.o strmode.o strncat.o strncmp.o \
  56.         strncpy.o strpbrk.o strsep.o strspn.o strstr.o strtod.o \
  57.         strtok.o strxfrm.o swab.o
  58.  
  59. $(LIB) :    $(OBJ)
  60.         rm -f $@
  61.         $(AR) rv $@ $(OBJ)
  62.         $(RANLIB) $@
  63.  
  64. clean:
  65.         rm -f *!
  66.  
  67. clobber:    clean
  68.         rm -f $(OBJ) $(LIB)
  69.  
  70. bcmp.o :    $(srcdir)/../library/defs.h
  71. bcopy.o :    $(srcdir)/../library/defs.h
  72. bzero.o :    $(srcdir)/../library/defs.h
  73. ffs.o :        $(srcdir)/../library/defs.h
  74. index.o :    $(srcdir)/../library/defs.h
  75. rindex.o :    $(srcdir)/../library/defs.h
  76. strcmp.o :    $(srcdir)/../library/defs.h
  77. strcpy.o :    $(srcdir)/../library/defs.h
  78. strdup.o :    $(srcdir)/../library/ixemul.h 
  79. strlen.o :    $(srcdir)/../library/defs.h
  80. strncmp.o :    $(srcdir)/../library/defs.h
  81. strncpy.o :    $(srcdir)/../library/defs.h
  82. strftime.o :    $(srcdir)/../library/ixemul.h 
  83. strtod.o :    $(srcdir)/../library/ixemul.h 
  84. strtok.o :    $(srcdir)/../library/ixemul.h 
  85.